package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.List;

@MappingTable(tableName = "BASE_TEMPLATE")
public class Template extends BaseObject {
	@MappingColumn(columnName = "TEMPLATE_ID", columnPk = true)
	private Integer templateId;

	@MappingColumn(columnName = "TEMPLATE_NAME")
	private String templateName;

	@MappingColumn(columnName = "TEMPLATE_IS_LIST")
	private Integer templateIsList;

	@MappingColumn(columnName = "TEMPLATE_REMARK")
	private String templateRemark;

	private List<TemplateColumn> templateColumnList;

	public Template() {
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public Integer getTemplateIsList() {
		return templateIsList;
	}

	public void setTemplateIsList(Integer templateIsList) {
		this.templateIsList = templateIsList;
	}

	public String getTemplateRemark() {
		return templateRemark;
	}

	public void setTemplateRemark(String templateRemark) {
		this.templateRemark = templateRemark;
	}

	public List<TemplateColumn> getTemplateColumnList() {
		return templateColumnList;
	}

	public void setTemplateColumnList(List<TemplateColumn> templateColumnList) {
		this.templateColumnList = templateColumnList;
	}
}
